﻿/// <reference path="../../libs/typedMVVM/include/win.ts" />
/// <reference path="../../viewModels/ViewModelFactory.ts" />
/// <reference path="../../services/SampleService.ts" />
var TypedMVVM;
(function (TypedMVVM) {
    (function (Samples) {
        (function (Views) {
            "use strict";

            var HomeView = (function () {
                function HomeView() {
                    this.ready = function (element, options) {
                        // Initialize the page here.
                        var viewModel = Samples.ViewModels.ViewModelFactory.homeViewModel;

                        WinJS.Binding.processAll(element, viewModel, false, null, null);

                        viewModel.loadData();
                    };
                }
                return HomeView;
            })();

            WinJS.UI.Pages.define("./views/home/HomeView.html", new HomeView());
        })(Samples.Views || (Samples.Views = {}));
        var Views = Samples.Views;
    })(TypedMVVM.Samples || (TypedMVVM.Samples = {}));
    var Samples = TypedMVVM.Samples;
})(TypedMVVM || (TypedMVVM = {}));
//# sourceMappingURL=HomeView.js.map
